2024-12-16 23:21:42,015 - INFO - Num classes: 3
2024-12-16 23:23:56,835 - INFO - Num classes: 4
2024-12-16 23:48:51,709 - INFO - Num classes: 4
2024-12-16 23:53:58,442 - INFO - Num classes: 4
2024-12-17 00:22:59,462 - INFO - Class weights: tensor([0.3543, 7.1414, 2.3026, 1.6574], device='cuda:0')
2024-12-17 00:39:41,438 - INFO - Num classes: 4
2024-12-17 01:08:34,566 - INFO - Class weights: tensor([0.3543, 7.1414, 2.3026, 1.6574], device='cuda:0')
2024-12-17 01:14:53,330 - INFO - Num classes: 4
2024-12-17 01:43:47,610 - INFO - Class weights: tensor([0.3543, 7.1414, 2.3026, 1.6574], device='cuda:0')
2024-12-17 01:43:49,022 - INFO - Model architecture:
HyperspectralLogisticRegressionModel(
  (proj): Linear(in_features=1026, out_features=4, bias=True)
)
2024-12-17 01:43:49,022 - INFO - Using cuda device
2024-12-17 02:14:46,333 - INFO - Num classes: 4
2024-12-17 02:43:01,062 - INFO - Class weights: tensor([0.3543, 7.1414, 2.3026, 1.6574], device='cuda:0')
2024-12-17 02:43:02,480 - INFO - Model architecture:
HyperspectralLogisticRegressionModel(
  (linear): Linear(in_features=1026, out_features=4, bias=True)
)
2024-12-17 02:43:02,480 - INFO - Using cuda device
2024-12-17 02:48:14,830 - INFO - Num classes: 4
2024-12-17 03:16:41,494 - INFO - Class weights: tensor([0.3543, 7.1414, 2.3026, 1.6574], device='cuda:0')
2024-12-17 03:16:42,007 - INFO - Model architecture:
HyperspectralLogisticRegressionModel(
  (linear): Linear(in_features=1024, out_features=4, bias=True)
)
2024-12-17 03:16:42,007 - INFO - Using cuda device
2024-12-17 03:52:29,280 - INFO - Epoch: 0/100. Training time: 1705.725
2024-12-17 03:52:29,301 - INFO - Training Metrics...
2024-12-17 03:52:29,301 - INFO - {'loss': 1.0080289279886068, 'f1': 40.37610881151687, 'acc': 49.077013403597206, 'precision': 44.82047491489822, 'recall': 55.21173724909306, 'balanced acc': 55.21173724909306}
2024-12-17 03:52:29,301 - INFO - Validation Metrics... Inference time: 441.547
2024-12-17 03:52:29,301 - INFO - {'loss': 1.0640994707743328, 'f1': 48.06177797608181, 'acc': 59.58093935248519, 'precision': 49.38243087260459, 'recall': 60.3724296979612, 'balanced acc': 60.3724296979612}
2024-12-17 03:52:29,301 - INFO - ==================================================
2024-12-17 06:58:42,114 - INFO - Epoch: 5/100. Training time: 1821.192
2024-12-17 06:58:42,152 - INFO - Training Metrics...
2024-12-17 06:58:42,153 - INFO - {'loss': 0.7831313950674874, 'f1': 52.92810814995974, 'acc': 63.5657005384351, 'precision': 54.24684366254656, 'recall': 66.01314326206541, 'balanced acc': 66.01314326206541}
2024-12-17 06:58:42,153 - INFO - Validation Metrics... Inference time: 461.364
2024-12-17 06:58:42,153 - INFO - {'loss': 0.8445616200858471, 'f1': 57.448336020792176, 'acc': 68.78374373005016, 'precision': 57.90713253308032, 'recall': 68.64902315368629, 'balanced acc': 68.64902315368629}
2024-12-17 06:58:42,153 - INFO - ==================================================
2024-12-17 10:11:59,897 - INFO - Epoch: 10/100. Training time: 1818.002
2024-12-17 10:11:59,935 - INFO - Training Metrics...
2024-12-17 10:11:59,936 - INFO - {'loss': 0.7391666079976876, 'f1': 56.372361022873676, 'acc': 66.32373410470845, 'precision': 57.13574070760353, 'recall': 69.47872087968396, 'balanced acc': 69.47872087968396}
2024-12-17 10:11:59,936 - INFO - Validation Metrics... Inference time: 462.574
2024-12-17 10:11:59,936 - INFO - {'loss': 0.8228007157643636, 'f1': 56.51245066452073, 'acc': 67.5064219486244, 'precision': 56.86260808227828, 'recall': 68.96914703195233, 'balanced acc': 68.96914703195233}
2024-12-17 10:11:59,936 - INFO - ==================================================
2024-12-17 13:14:27,904 - INFO - Epoch: 15/100. Training time: 1759.648
2024-12-17 13:14:27,934 - INFO - Training Metrics...
2024-12-17 13:14:27,934 - INFO - {'loss': 0.7310350129169784, 'f1': 57.62275002755462, 'acc': 68.06575781876504, 'precision': 57.81023862280378, 'recall': 70.00573872597761, 'balanced acc': 70.00573872597761}
2024-12-17 13:14:27,934 - INFO - Validation Metrics... Inference time: 453.890
2024-12-17 13:14:27,934 - INFO - {'loss': 0.7521943964210211, 'f1': 57.57547669972547, 'acc': 72.14164386684907, 'precision': 56.87832717448941, 'recall': 68.06524704607916, 'balanced acc': 68.06524704607916}
2024-12-17 13:14:27,934 - INFO - ==================================================
2024-12-17 16:18:40,812 - INFO - Epoch: 20/100. Training time: 1763.406
2024-12-17 16:18:40,848 - INFO - Training Metrics...
2024-12-17 16:18:40,849 - INFO - {'loss': 0.7167755121667984, 'f1': 58.52559198587171, 'acc': 69.1144413258487, 'precision': 58.37320417779215, 'recall': 71.52266967628627, 'balanced acc': 71.52266967628627}
2024-12-17 16:18:40,849 - INFO - Validation Metrics... Inference time: 466.043
2024-12-17 16:18:40,849 - INFO - {'loss': 0.7384272451494255, 'f1': 59.38006109222525, 'acc': 72.02304681562548, 'precision': 59.71742406651741, 'recall': 70.22100769362622, 'balanced acc': 70.22100769362622}
2024-12-17 16:18:40,849 - INFO - ==================================================
2024-12-17 19:21:38,070 - INFO - Epoch: 25/100. Training time: 1721.905
2024-12-17 19:21:38,094 - INFO - Training Metrics...
2024-12-17 19:21:38,094 - INFO - {'loss': 0.700990836902205, 'f1': 59.53516801741524, 'acc': 69.75934146714017, 'precision': 59.56690548835078, 'recall': 71.48775881429741, 'balanced acc': 71.48775881429741}
2024-12-17 19:21:38,094 - INFO - Validation Metrics... Inference time: 441.995
2024-12-17 19:21:38,094 - INFO - {'loss': 0.7120559344104692, 'f1': 59.744396879579234, 'acc': 73.55591655266758, 'precision': 58.96498644257814, 'recall': 70.56516463518535, 'balanced acc': 70.56516463518535}
2024-12-17 19:21:38,094 - INFO - ==================================================
2024-12-17 22:29:06,056 - INFO - Epoch: 30/100. Training time: 1758.240
2024-12-17 22:29:06,085 - INFO - Training Metrics...
2024-12-17 22:29:06,085 - INFO - {'loss': 0.7096954246459923, 'f1': 59.10802585018619, 'acc': 69.6927196700653, 'precision': 59.102742646431516, 'recall': 71.37497380775277, 'balanced acc': 71.37497380775277}
2024-12-17 22:29:06,085 - INFO - Validation Metrics... Inference time: 450.473
2024-12-17 22:29:06,086 - INFO - {'loss': 0.7371677265447729, 'f1': 58.549570677554954, 'acc': 71.29483964128286, 'precision': 59.488256174531664, 'recall': 69.68625228259819, 'balanced acc': 69.68625228259819}
2024-12-17 22:29:06,086 - INFO - ==================================================
2024-12-18 01:34:48,308 - INFO - Epoch: 35/100. Training time: 1776.256
2024-12-18 01:34:48,418 - INFO - Training Metrics...
2024-12-18 01:34:48,418 - INFO - {'loss': 0.6867818845610313, 'f1': 59.99614589609594, 'acc': 70.42118703937068, 'precision': 59.91067637353724, 'recall': 71.79464289475659, 'balanced acc': 72.12816084453057}
2024-12-18 01:34:48,418 - INFO - Validation Metrics... Inference time: 451.176
2024-12-18 01:34:48,418 - INFO - {'loss': 0.6707661455752802, 'f1': 59.41601846652558, 'acc': 74.36006611947104, 'precision': 58.814701259100524, 'recall': 68.68385068022656, 'balanced acc': 68.68385068022656}
2024-12-18 01:34:48,418 - INFO - ==================================================
2024-12-18 04:34:59,860 - INFO - Epoch: 40/100. Training time: 1691.588
2024-12-18 04:34:59,902 - INFO - Training Metrics...
2024-12-18 04:34:59,902 - INFO - {'loss': 0.6859422848729665, 'f1': 60.526580320572464, 'acc': 71.1479312254172, 'precision': 60.217008063726375, 'recall': 72.6855168082564, 'balanced acc': 72.6855168082564}
2024-12-18 04:34:59,903 - INFO - Validation Metrics... Inference time: 461.149
2024-12-18 04:34:59,903 - INFO - {'loss': 0.7056905790871265, 'f1': 59.69504885950847, 'acc': 73.18646450828393, 'precision': 59.43252018404209, 'recall': 70.43357316595825, 'balanced acc': 70.43357316595825}
2024-12-18 04:34:59,903 - INFO - ==================================================
2024-12-18 07:36:11,766 - INFO - Epoch: 45/100. Training time: 1705.975
2024-12-18 07:36:11,813 - INFO - Training Metrics...
2024-12-18 07:36:11,813 - INFO - {'loss': 0.6751316116361196, 'f1': 61.61077532444984, 'acc': 72.19412303814869, 'precision': 61.201795695268046, 'recall': 72.6604373625374, 'balanced acc': 72.6604373625374}
2024-12-18 07:36:11,813 - INFO - Validation Metrics... Inference time: 429.088
2024-12-18 07:36:11,814 - INFO - {'loss': 0.6599814260707182, 'f1': 60.58955158499698, 'acc': 75.11635506915944, 'precision': 59.918569718863424, 'recall': 70.21589047439916, 'balanced acc': 70.21589047439916}
2024-12-18 07:36:11,814 - INFO - ==================================================
2024-12-18 10:34:13,706 - INFO - Epoch: 50/100. Training time: 1694.871
2024-12-18 10:34:13,740 - INFO - Training Metrics...
2024-12-18 10:34:13,740 - INFO - {'loss': 0.6765334565064003, 'f1': 61.16037844891349, 'acc': 71.53818211326231, 'precision': 61.09083926152488, 'recall': 72.59615297382734, 'balanced acc': 72.59615297382734}
2024-12-18 10:34:13,740 - INFO - Validation Metrics... Inference time: 439.783
2024-12-18 10:34:13,740 - INFO - {'loss': 0.6795547248101702, 'f1': 60.72372600619117, 'acc': 73.5360047119623, 'precision': 61.08214923289865, 'recall': 70.79907651194833, 'balanced acc': 70.79907651194833}
2024-12-18 10:34:13,740 - INFO - ==================================================
2024-12-18 13:35:32,743 - INFO - Epoch: 55/100. Training time: 1758.766
2024-12-18 13:35:32,752 - INFO - Training Metrics...
2024-12-18 13:35:32,752 - INFO - {'loss': 0.6669427203427395, 'f1': 61.66314783838689, 'acc': 72.2789217932562, 'precision': 61.22504778860901, 'recall': 73.49383591201635, 'balanced acc': 73.49383591201635}
2024-12-18 13:35:32,752 - INFO - Validation Metrics... Inference time: 451.731
2024-12-18 13:35:32,752 - INFO - {'loss': 0.6642894820839751, 'f1': 60.56043293875759, 'acc': 74.79900060799514, 'precision': 59.99827247062493, 'recall': 70.29012236557321, 'balanced acc': 70.29012236557321}
2024-12-18 13:35:32,752 - INFO - ==================================================
2024-12-18 16:40:54,112 - INFO - Epoch: 60/100. Training time: 1816.115
2024-12-18 16:40:54,121 - INFO - Training Metrics...
2024-12-18 16:40:54,121 - INFO - {'loss': 0.6644706338497218, 'f1': 61.82378325105042, 'acc': 72.00723164165426, 'precision': 61.616691515249954, 'recall': 73.90144378274086, 'balanced acc': 73.90144378274086}
2024-12-18 16:40:54,122 - INFO - Validation Metrics... Inference time: 448.774
2024-12-18 16:40:54,122 - INFO - {'loss': 0.6477708892495024, 'f1': 60.85145559029008, 'acc': 75.89350585195318, 'precision': 60.02022886837707, 'recall': 70.05125881280996, 'balanced acc': 70.05125881280996}
2024-12-18 16:40:54,122 - INFO - ==================================================
2024-12-18 19:42:00,861 - INFO - Epoch: 65/100. Training time: 1687.168
2024-12-18 19:42:00,876 - INFO - Training Metrics...
2024-12-18 19:42:00,876 - INFO - {'loss': 0.6658732118864952, 'f1': 61.45297910638392, 'acc': 72.56970538816971, 'precision': 60.922177565332035, 'recall': 73.11747595900658, 'balanced acc': 73.11747595900658}
2024-12-18 19:42:00,877 - INFO - Validation Metrics... Inference time: 437.927
2024-12-18 19:42:00,877 - INFO - {'loss': 0.6591951858763602, 'f1': 59.89501991313367, 'acc': 74.04592263261894, 'precision': 59.5913850058144, 'recall': 69.1826938647702, 'balanced acc': 69.1826938647702}
2024-12-18 19:42:00,877 - INFO - ==================================================
2024-12-18 22:45:16,707 - INFO - Epoch: 70/100. Training time: 1743.868
2024-12-18 22:45:16,720 - INFO - Training Metrics...
2024-12-18 22:45:16,721 - INFO - {'loss': 0.6601452046427233, 'f1': 62.198815428039985, 'acc': 72.53140871424752, 'precision': 61.69588888451716, 'recall': 73.97188889291391, 'balanced acc': 73.97188889291391}
2024-12-18 22:45:16,721 - INFO - Validation Metrics... Inference time: 441.478
2024-12-18 22:45:16,721 - INFO - {'loss': 0.6688884560968361, 'f1': 60.67421111709839, 'acc': 74.63544991640066, 'precision': 60.4565889802695, 'recall': 70.2865204007736, 'balanced acc': 70.2865204007736}
2024-12-18 22:45:16,721 - INFO - ==================================================
2024-12-19 01:44:15,776 - INFO - Epoch: 75/100. Training time: 1715.749
2024-12-19 01:44:15,786 - INFO - Training Metrics...
2024-12-19 01:44:15,787 - INFO - {'loss': 0.6582911729519003, 'f1': 61.807061441268154, 'acc': 72.90484782525681, 'precision': 61.34047557196436, 'recall': 73.82236574567871, 'balanced acc': 73.82236574567871}
2024-12-19 01:44:15,787 - INFO - Validation Metrics... Inference time: 439.664
2024-12-19 01:44:15,787 - INFO - {'loss': 0.65892247300522, 'f1': 61.2013228410612, 'acc': 74.81754445964432, 'precision': 61.015263741462455, 'recall': 71.1125972858757, 'balanced acc': 71.1125972858757}
2024-12-19 01:44:15,787 - INFO - ==================================================
2024-12-19 04:43:36,880 - INFO - Epoch: 80/100. Training time: 1702.796
2024-12-19 04:43:36,913 - INFO - Training Metrics...
2024-12-19 04:43:36,913 - INFO - {'loss': 0.6560252129737967, 'f1': 61.95952259620627, 'acc': 72.84047905449269, 'precision': 61.646394749760994, 'recall': 73.48882835463213, 'balanced acc': 73.48882835463213}
2024-12-19 04:43:36,913 - INFO - Validation Metrics... Inference time: 429.811
2024-12-19 04:43:36,913 - INFO - {'loss': 0.6531593314572877, 'f1': 60.83189024976608, 'acc': 75.05566955464357, 'precision': 60.404820261043334, 'recall': 70.26403000246617, 'balanced acc': 70.26403000246617}
2024-12-19 04:43:36,913 - INFO - ==================================================
2024-12-19 07:36:49,472 - INFO - Epoch: 85/100. Training time: 1633.158
2024-12-19 07:36:49,499 - INFO - Training Metrics...
2024-12-19 07:36:49,500 - INFO - {'loss': 0.6520872794348618, 'f1': 62.190595010630425, 'acc': 73.09482281284608, 'precision': 61.66039440989452, 'recall': 73.62466948314335, 'balanced acc': 73.62466948314335}
2024-12-19 07:36:49,500 - INFO - Validation Metrics... Inference time: 419.965
2024-12-19 07:36:49,500 - INFO - {'loss': 0.6528013389484555, 'f1': 61.039013582938836, 'acc': 75.13256193950448, 'precision': 60.6018368519421, 'recall': 70.59078892256116, 'balanced acc': 70.59078892256116}
2024-12-19 07:36:49,500 - INFO - ==================================================
2024-12-19 09:21:58,108 - INFO - Early stopping criterion met. Stopping training.
2024-12-19 09:29:18,851 - INFO - Final test metrics:
{'f1': 63.97543941711356, 'acc': 76.82875436996504, 'precision': 61.22350243062764, 'recall': 75.23981387020466, 'balanced acc': 75.23981387020466}
